const TakeBoxFormRules = {
    no: [
        {
            required: true,
            message: '请输入快递编号',
            // 可以单个或者同时写两个触发验证方式
            trigger: 'blur,change'
        }
    ],
    site: [
        {
            required: true,
            message: '请选择快递站点',
            trigger: 'change'
        }
    ],
    price: [
        {
            required: true,
            message: '请选择快递大小',
            trigger: 'change'
        }
    ],
    remark: [
        {
            min: 10,
            required: true,
            message: '请复制短信',
            trigger: 'change'
        }
    ]



    
}

const AddNewAddressRules = {
    name: [
        {
            required: true,
            message: '收货人不能为空',
            // 可以单个或者同时写两个触发验证方式
            trigger: 'blur,change'
        }
    ],
    phone: [
        {
            required: true,
            message: '收货人手机号不能为空',
            trigger: 'change'
        }
    ],
    room: [
        {
            required: true,
            message: '宿舍号不能为空',
            trigger: 'change'
        }
    ],
    schoolBuildRoom: [
        {
            required: true,
            message: '收货地址不能为空',
            trigger: 'change'
        }
    ]
}
export {
    TakeBoxFormRules,   //快递提交form
    AddNewAddressRules,  //新增收货地址
}